/**
 * Created by tomyli on 16/5/2.
 */


import { PixelRatio } from 'react-native';
import Dimensions from 'Dimensions';

const CssUtil = {};

// 单位像素
CssUtil.pixel = 1 / PixelRatio.get();

// 屏幕尺寸
CssUtil.size = {
  width: Dimensions.get('window').width,
  height: Dimensions.get('window').height
};

export default CssUtil;
